package com.zb.vo;

import com.zb.annotation.ListPattern;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author WEN
 * @Date 2024/2/5 0005
 **/
@Data
@ApiModel("工单策略SLA详情条件列表对象")
public class WorkSlaDetailConditionVo {
    @ApiModelProperty(value = "触发条件ID")
    private Long id;

    @ApiModelProperty(value = "触发条件类型：1-未分配客服，2-未派单，3-服务商未接单，4-工程师未接单，5-工程师未拨打电话，6-工程师未预约，7-工程师未签到")
    private Integer type;

    @ApiModelProperty(value = "时效，单位小时")
    private Integer ageingTime;

    @ApiModelProperty(value = "是否启用超时前提醒：false-不启用，true-启用")
    private Boolean enableBeforeOverTimeRemind = Boolean.FALSE;

    @ApiModelProperty(value = "超时前提醒时间，单位小时", example = "0")
    private Integer beforeOverTimeRemindTime;

    @ApiModelProperty(value = "超时前提醒人员类型：1-工单客服，2-指定人员，3-服务商负责人，4-工程师")
    private List<String> beforeOverTimeRemindEmpType;

    @ApiModelProperty(value = "是否启用超时后提醒：false-不启用，true-启用")
    private Boolean enableAfterOverTimeRemind = Boolean.FALSE;;

    @ApiModelProperty(value = "超时后提醒时间，单位小时", example = "0")
    private Integer afterOverTimeRemindTime;

    @ApiModelProperty(value = "超时后提醒人员类型：1-工单客服，2-指定人员，3-服务商负责人，4-工程师")
    private List<String> afterOverTimeRemindEmpType;

    @ApiModelProperty(value = "超时前提醒指定人员ID对象")
    private List<String> slaBeforeOverTimeRemindEmps;

    @ApiModelProperty(value = "超时后提醒指定人员ID对象")
    private List<String> slaAfterOverTimeRemindEmps;
}
